package com.ddwl.schema.bo.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * 通知
 *
 * @author Fu Zhaohui
 * @date 2017/7/8
 */
@ApiModel(description = "通知Bo")
@Setter
@Getter
public class NoticeBo {

    @ApiModelProperty("主键ID")
    private String id;
    @ApiModelProperty("商户ID")
    private String mchId;
    @ApiModelProperty("消息类型 活动通知 1系统升级")
    private Byte type;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("封面")
    private String coverImg;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("起始时间")
    private Instant gmtBegin;
    @ApiModelProperty("截止时间")
    private Instant gmtEnd;
    @ApiModelProperty("跳转URL")
    private String linkUrl;
    @ApiModelProperty("关联数据ID")
    private String dataId;
    @ApiModelProperty("状态 0失效 1生效")
    private Byte status;
    @ApiModelProperty("所属产品")
    private String product;
}
